/**
 *  图片上传接口
 */
import request from '@/utils/request'

export function uploadImg(data) {
  return request({
    url: '/upimg',
    method: 'post',
    data
  })
}

export function uploadImgs(data) {
  return request({
    url: '/upimgs',
    method: 'post',
    data
  })
}

export function getImgs(params) {
  return request({
    url: '/img/imgshow',
    method: 'get',
    params
  })
}

export function downfile(params) {
  return request({
    url: '/downfile',
    method: 'get',
    params
  })
}
